#include "LinDrv.h"

extern lin_callback_t CallbackHandler(uint32 instance, lin_state_t * lin1_State);

void LinDrv_Init( Lin_ConfigType* Config )
{
    (void*)Config;
    
    //use Lin LinTP
    //ld_init();
    //l_ifc_init_LI0();
    
    // not use LinTP
    LIN_DRV_Init(INST_LIN1, &lin1_InitConfig0, &lin1_State);
    /* Install callback function */
    LIN_DRV_InstallCallback(INST_LIN1, (lin_callback_t)CallbackHandler);
}
